package org.itboys.mobile.entity.mongo.project;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.Date;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：众包_项目实体_实体。
 *
 */
@Entity(value="ZhongBaoProject", noClassnameStored=true)
public class ZhongBaoProject extends BaseMongoEntity{
    private String name;//项目名称
    private String trade;//行业
    private Long memberId;//发起人名称
    private String memberName;// 发起人昵称
    private String memberMobile;//发起人电话
    private Long dealerId;//成交人ID
    private String dealerName;// 发起人昵称
    private String dealerMobile;//发起人电话
    private Date  startDate;//开始时间
    private Date  endDate;//结束时间
    private String  keyWords;//关键字。用,隔开。2017年11月17日，删除
    private String desc;//图文详情
   /* private Long provinceId;//省ID
    private String provinceName;//省名称
    private Long cityId;//市Id
    private String cityName;//市名称
    private Long districtId;//区ID
    private String districtName;//区名称
    private String address;//项目地址*/

    private Integer status;//项目状态。1待审核，2进行中，3已驳回，4已结束
    private Integer type;//1，公共项目，2私有项目
    //2017年11月13日，新增
    private long chatGroupId;//聊天组ID
    private long handlerId;//审核人ID
    //以下属性，在dto中实现
    //员工列表
    //员工数
    //关注列表
    //关注数
    //报名列表
    //转发数
    //转发列表
    //项目图片

    public ZhongBaoProject() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTrade() {
        return trade;
    }

    public void setTrade(String trade) {
        this.trade = trade;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberMobile() {
        return memberMobile;
    }

    public void setMemberMobile(String memberMobile) {
        this.memberMobile = memberMobile;
    }

    public Long getDealerId() {
        return dealerId;
    }

    public void setDealerId(Long dealerId) {
        this.dealerId = dealerId;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getDealerMobile() {
        return dealerMobile;
    }

    public void setDealerMobile(String dealerMobile) {
        this.dealerMobile = dealerMobile;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getKeyWords() {
        return keyWords;
    }

    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

  /*  public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }*/

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public long getChatGroupId() {
        return chatGroupId;
    }

    public void setChatGroupId(long chatGroupId) {
        this.chatGroupId = chatGroupId;
    }

    public long getHandlerId() {
        return handlerId;
    }

    public void setHandlerId(long handlerId) {
        this.handlerId = handlerId;
    }
}
